module AuthRequestHelper
#
# pass the @env along with your request, eg:
#
# GET '/labels', {}, @env
#
  def http_login
    @env ||= {}
    @env['HTTP_AUTHORIZATION'] = ActionController::HttpAuthentication::Basic.encode_credentials('yunmao', 'china-east')
    #pp @request.env['HTTP_AUTHORIZATION'] 
  end
end